/**
 * 适配器模式
 *
 * @author ItJianGe
 * @data 2024/8/3 9:39
 */
public class AdapterMain {
    public static void main(String[] args) {

        Adapter adapter = new Adapter(new Adaptee());

        Client client = new Client();
        client.setTarget(adapter);

        client.work();
    }
}